<!-- 详情 -->
<template>
  <web-view v-if="show" :src="url" :update-title="false"></web-view>
</template>

<script setup lang="ts">
  import { ref } from 'vue';
  import { onLoad } from '@dcloudio/uni-app'
  let show = ref(false)
  let url = ref('')
  onLoad((option) => {
    url.value = 'https://view.xdocin.com/view?pdf=true&saveable=true&printable=false&printable=false&toolbar=false&src=http://why761220.gnway.cc/psdmsfiles/filePreview/preview?fileId=' + option.xxnr
    show.value = true
  });
</script>

<style lang="scss" scoped>

</style>